package com.ydy.shardingjdbc;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.ydy.shardingJdbc.mapper")
public class YdyShardingJdbcApplication {
    private static Logger LOGGER = LoggerFactory.getLogger(YdyShardingJdbcApplication.class);

    public static void main(String[] args) {
        LOGGER.info("ShardingJdbc项目启动");
        SpringApplication.run(YdyShardingJdbcApplication.class, args);
    }

}
